package org.springblade.modules.admin.vo.plan;

import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zcc
 * @version 1.0
 * @date 2023/5/9 11:12
 */
@Data
@ApiModel("工单初始化model")
public class PlanInitVo {

	private Long planId;
	private Long planExtId;
	private Long elevatorId;
	private Date maintainSignatureTime;

	public void setPlanDate(Date planDate) {
		this.planDate = planDate;
		this.planTime = DateUtil.format(planDate,"yyyy-MM-dd HH:mm:ss");
	}

	private Date planDate;
	private String planTime;
	private Date overdueDate;

}
